package com.ruoyi.clothing.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 购物车管理对象 sys_cart
 * 
 * @author weh
 * @date 2024-01-18
 */
public class SysCart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 购物车id */
    private Integer id;

    /** 商品名 */
    @Excel(name = "商品名")
    private String cartName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String cartPicture;

    /** 商品材料 */
    @Excel(name = "商品材料")
    private String cartMaterial;

    /** 商品颜色 */
    @Excel(name = "商品颜色")
    private String cartColor;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal cartPrice;

    /** 商品大小 */
    @Excel(name = "商品大小")
    private String cartSize;

    /** 商品款式 */
    @Excel(name = "商品款式")
    private String cartType;

    /** 购物车状态 */
    private String status;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long cartNum;

    /** 商品总价 */
    @Excel(name = "商品总价")
    private BigDecimal cartTotalPrice;

    /** 商品所属 */
    @Excel(name = "商品所属")
    private Long ownerUser;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCartName(String cartName) 
    {
        this.cartName = cartName;
    }

    public String getCartName() 
    {
        return cartName;
    }
    public void setCartPicture(String cartPicture) 
    {
        this.cartPicture = cartPicture;
    }

    public String getCartPicture() 
    {
        return cartPicture;
    }
    public void setCartMaterial(String cartMaterial) 
    {
        this.cartMaterial = cartMaterial;
    }

    public String getCartMaterial() 
    {
        return cartMaterial;
    }
    public void setCartColor(String cartColor) 
    {
        this.cartColor = cartColor;
    }

    public String getCartColor() 
    {
        return cartColor;
    }
    public void setCartPrice(BigDecimal cartPrice) 
    {
        this.cartPrice = cartPrice;
    }

    public BigDecimal getCartPrice() 
    {
        return cartPrice;
    }
    public void setCartSize(String cartSize) 
    {
        this.cartSize = cartSize;
    }

    public String getCartSize() 
    {
        return cartSize;
    }
    public void setCartType(String cartType) 
    {
        this.cartType = cartType;
    }

    public String getCartType() 
    {
        return cartType;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCartNum(Long cartNum) 
    {
        this.cartNum = cartNum;
    }

    public Long getCartNum() 
    {
        return cartNum;
    }
    public void setCartTotalPrice(BigDecimal cartTotalPrice) 
    {
        this.cartTotalPrice = cartTotalPrice;
    }

    public BigDecimal getCartTotalPrice() 
    {
        return cartTotalPrice;
    }
    public void setOwnerUser(Long ownerUser) 
    {
        this.ownerUser = ownerUser;
    }

    public Long getOwnerUser() 
    {
        return ownerUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cartName", getCartName())
            .append("cartPicture", getCartPicture())
            .append("cartMaterial", getCartMaterial())
            .append("cartColor", getCartColor())
            .append("cartPrice", getCartPrice())
            .append("cartSize", getCartSize())
            .append("cartType", getCartType())
            .append("status", getStatus())
            .append("cartNum", getCartNum())
            .append("cartTotalPrice", getCartTotalPrice())
            .append("ownerUser", getOwnerUser())
            .toString();
    }
}
